//
//  NumberOf1InBinary.h
//  GLCodingInterview
//
//  Created by colyn on 2019/8/22.
//  Copyright © 2019 colyn. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NumberOf1InBinary : NSObject

//找出一个数的二进制中有几个1
+ (int)numberOf1_1:(int)n;
+ (int)numberOf1_2:(int)n;

@end

NS_ASSUME_NONNULL_END
